﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RouletteGame
{
    public class FactoryFieldsStub : IFactory
    {
        public IRandom createRandom()
        {
            return new RandomStub();
        }

        public List<Field> createFields()
        {
            return new List<Field> {
                              new Field(0, Field.Green),
                              new Field(1, Field.Red),
                              new Field(2, Field.Black),
                              new Field(3, Field.Red),
                              new Field(4, Field.Black),
                              new Field(5, Field.Red),
                              new Field(6, Field.Black),
                              new Field(7, Field.Red),
                              new Field(8, Field.Black),
                              new Field(9, Field.Red),
                              new Field(10, Field.Black),
                              new Field(11, Field.Black),
                              new Field(12, Field.Red),
                              new Field(13, Field.Black),
                              new Field(14, Field.Red),
                              new Field(15, Field.Black),
                              new Field(16, Field.Red),
                              new Field(17, Field.Black),
                              new Field(18, Field.Red),
                              new Field(19, Field.Red),
                              new Field(20, Field.Black),
                              new Field(21, Field.Red),
                              new Field(22, Field.Black),
                              new Field(23, Field.Red),
                              new Field(24, Field.Black),
                              new Field(25, Field.Red),
                              new Field(26, Field.Black),
                              new Field(27, Field.Red),
                              new Field(28, Field.Black),
                              new Field(29, Field.Black),
                              new Field(30, Field.Red),
                              new Field(31, Field.Black),
                              new Field(32, Field.Red),
                              new Field(33, Field.Black),
                              new Field(34, Field.Red),
                              new Field(35, Field.Black),
                              new Field(36, Field.Red)
             };
        }

    }
}
